/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Negocio;

import Datos.EmergenciaImpl;
import Datos.IncidenteRegistro;
import Datos.Supervisor;

/**
 *
 * @author BraymeS
 */
public class GestorIncidenteRegistro {
    IncidenteRegistro registro ;
    public void crearIncidenteRegistro(String tipo , Supervisor supervisor, EmergenciaImpl emergencia){
        registro = new IncidenteRegistro(tipo, supervisor, emergencia);
        supervisor.AgregarIncidente(registro);
        emergencia.AgregarIncidenteregistro(registro);
    }
}
